package com.education.welco.service.impl;


import com.education.common.utils.Convert;
import com.education.welco.mapper.LCatalogFootprintMapper;
import com.education.welco.pojo.LCatalogFootprint;
import com.education.welco.service.ILCatalogFootprintService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 我的足迹表 服务层实现
 *
 * @author d
 * @date 2020-05-14 11:20:18
 */
@Service
public class LCatalogFootprintServiceImpl implements ILCatalogFootprintService {

    @Autowired
    private LCatalogFootprintMapper lCatalogFootprintMapper;

    //查询我的足迹表信息
    @Override
    public LCatalogFootprint selectLCatalogFootprintById(Integer id) {
        return lCatalogFootprintMapper.selectLCatalogFootprintById(id);
    }

    // 查询我的足迹表列表
    @Override
    public List<LCatalogFootprint> selectLCatalogFootprintList(LCatalogFootprint lCatalogFootprint) {
        return lCatalogFootprintMapper.selectLCatalogFootprintList(lCatalogFootprint);
    }

    // 新增我的足迹表
    @Override
    public int insertLCatalogFootprint(LCatalogFootprint lCatalogFootprint) {
        return lCatalogFootprintMapper.insertLCatalogFootprint(lCatalogFootprint);
    }

    //修改我的足迹表
    @Override
    public int updateLCatalogFootprint(LCatalogFootprint lCatalogFootprint) {
        return lCatalogFootprintMapper.updateLCatalogFootprint(lCatalogFootprint);
    }

    //删除${tableComment}对象
    @Override
    public int deleteLCatalogFootprintByIds(String ids) {
        return lCatalogFootprintMapper.deleteLCatalogFootprintByIds(Convert.toStrArray(ids));
    }
}